package ama.dao;

import java.util.List;
import ama.dao.ConnexionJavaDB;
import ama.model.Produit;

import com.sun.appserv.jdbc.DataSource;

public abstract class DAO<T> {

	public DataSource datasource = ConnexionJavaDB.getInstance();
	public abstract T create(T obj);
	public abstract T update(T obj);
	public abstract void delete(T obj);
	public abstract T find(int id);
	public abstract List<T> findAll();
	
}
